#pragma once
#include <qobject.h>

class QHttpServer;
class HttpServer : public QObject
{
	Q_OBJECT
public:
	HttpServer(QObject* parent = nullptr);

	void start(int port);
	void stop();

private:
	QHttpServer* m_server = nullptr;
};

